package com.liufei.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liufei
 * @version 1.0.0
 * @description
 * @date 2023/1/15
 */
@RequestMapping("/")
@RestController
public class PingController {

    @GetMapping("/ping")
    public String ping() {
        return "check health ok";
    }

}
